bitkeeper revision 1.1392 (4270eaf9Zx1D03KOAVKHY8tW-aANmg)
authormjw@wray-m-3.hpl.hp.com <mjw@wray-m-3.hpl.hp.com>
Thu, 28 Apr 2005 13:54:01 +0000 (13:54 +0000)
committermjw@wray-m-3.hpl.hp.com <mjw@wray-m-3.hpl.hp.com>
Thu, 28 Apr 2005 13:54:01 +0000 (13:54 +0000)
commit155209afdae0f704ec84566c1be18987bf1c92c7
treef21552a716283757f1dffd1234c038b69cc15907
parentc2982308e22721d4dd31e430bdb375edfafc8926
bitkeeper revision 1.1392 (4270eaf9Zx1D03KOAVKHY8tW-aANmg)

Apply Nguyen's patch:

- extend filesystem abstraction by adding file_exist() method. this
method is used to check for existent of a file given its name. now
ext2fs implements this method.
- pygrub opens and parses /boot/grub/menu.lst or /boot/grub/grub.conf,
in that order.
- add /usr/lib/python to system path (see pygrub). without this
change, pygrub cannot find grub python package.
- remove few blank lines

Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Mike Wray <mike.wray@hp.com>
tools/pygrub/src/fsys/__init__.py
tools/pygrub/src/fsys/ext2/ext2module.c
tools/pygrub/src/pygrub